package com.example.back.service;

import com.example.back.dto.req.DoDisableReq;
import com.example.back.dto.req.DoctorListReq;
import com.example.back.dto.req.PharmacistSave;
import com.example.back.dto.resp.PharmacisRsp;
import com.example.back.dto.resp.PharmacistInfoRsp;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/14 13:46
 * @Version 1.0
 */
public interface PharmacistService {
    /**
     * 药师列表
     */
    PageInfo<PharmacisRsp> List(DoctorListReq doctorListReq);

    /**
     * 启用、禁用
     */
    Object DoDisable(DoDisableReq doDisableReq);

    /**
     * 详情
     */
    PharmacistInfoRsp Info(DoDisableReq doDisableReq);

    /**
     * 上传文件
     */
    HashMap<String,Object> UpLoad(MultipartFile file);

    /**
     * 保存
     */
    Object Save(PharmacistSave pharmacistSave);
}
